package day20170928;

public class Work1_4 {
    public static void main(String[] args) {
        int x = 1, y = -2, n = 10;
        int a = x + y + (--n) * (x > y && x > 0 ? (x + 1) : y);
        System.out.println(a);
    }
}
